//---------------------------------------------------------------------------

#ifndef t_excludelistformH
#define t_excludelistformH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Grids.hpp>
//---------------------------------------------------------------------------
class TExcludeListForm : public TForm
{
__published:	// IDE-managed Components
   TStringGrid *Grid;
   TEdit *EditItem;
   TButton *ButtonAdd;
   TButton *ButtonRemove;
   TButton *ButtonClear;
   TButton *ButtonOk;
   TButton *ButtonCancel;
   void __fastcall ButtonOkClick(TObject *Sender);
   void __fastcall ButtonCancelClick(TObject *Sender);
   void __fastcall ButtonAddClick(TObject *Sender);
   void __fastcall ButtonRemoveClick(TObject *Sender);
   void __fastcall ButtonClearClick(TObject *Sender);
private:	// User declarations
   void __fastcall GridAssign(TStringGrid *Grid,
      const set<UTF8String> &StrSet);
   bool OkFlag;
   set<UTF8String> FStrSet;
public:		// User declarations
   __fastcall TExcludeListForm(TComponent* Owner);
   bool __fastcall EditExcludeList(set<UTF8String> &StrSet,
      const UTF8String &NewItem);
};
//---------------------------------------------------------------------------
extern PACKAGE TExcludeListForm *ExcludeListForm;
//---------------------------------------------------------------------------
#endif
